package client.popups.wizard;

import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JRadioButton;
import javax.swing.ButtonGroup;

public class AppointmentStartWindow extends JPanel{
	private final ButtonGroup buttonGroup = new ButtonGroup();
	private JRadioButton rdbtnMte;
	private JRadioButton rdbtnAvtale;
	
	public AppointmentStartWindow() {
		setLayout(null);
				
		JLabel lblNewLabel = new JLabel("Ny:");
		lblNewLabel.setFont(new Font("Tahoma", Font.PLAIN, 20));
		lblNewLabel.setBounds(66, 97, 41, 22);
		add(lblNewLabel);
		
		rdbtnMte = new JRadioButton("M\u00F8te");
		buttonGroup.add(rdbtnMte);
		rdbtnMte.setBounds(113, 81, 109, 23);
		add(rdbtnMte);
		
		rdbtnAvtale = new JRadioButton("Avtale");
		buttonGroup.add(rdbtnAvtale);
		rdbtnAvtale.setBounds(113, 114, 109, 23);
		add(rdbtnAvtale);
	}

	public JRadioButton getRdbtnMte() {
		return rdbtnMte;
	}

	public JRadioButton getRdbtnAvtale() {
		return rdbtnAvtale;
	}
}
